import service from '@/utils/request'

// @Tags CustomProcessBaseGoodsRel
// @Summary 创建CustomProcessBaseGoodsRel
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.CustomProcessBaseGoodsRel true "创建CustomProcessBaseGoodsRel"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /customProcessBaseGoodsRel/createCustomProcessBaseGoodsRel [post]
export const createCustomProcessBaseGoodsRel = (data) => {
     return service({
         url: "/customProcessBaseGoodsRel/createCustomProcessBaseGoodsRel",
         method: 'post',
         data
     })
 }


// @Tags CustomProcessBaseGoodsRel
// @Summary 删除CustomProcessBaseGoodsRel
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.CustomProcessBaseGoodsRel true "删除CustomProcessBaseGoodsRel"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /customProcessBaseGoodsRel/deleteCustomProcessBaseGoodsRel [delete]
 export const deleteCustomProcessBaseGoodsRel = (data) => {
     return service({
         url: "/customProcessBaseGoodsRel/deleteCustomProcessBaseGoodsRel",
         method: 'delete',
         data
     })
 }

// @Tags CustomProcessBaseGoodsRel
// @Summary 删除CustomProcessBaseGoodsRel
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body request.IdsReq true "批量删除CustomProcessBaseGoodsRel"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /customProcessBaseGoodsRel/deleteCustomProcessBaseGoodsRel [delete]
 export const deleteCustomProcessBaseGoodsRelByIds = (data) => {
     return service({
         url: "/customProcessBaseGoodsRel/deleteCustomProcessBaseGoodsRelByIds",
         method: 'delete',
         data
     })
 }

// @Tags CustomProcessBaseGoodsRel
// @Summary 更新CustomProcessBaseGoodsRel
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.CustomProcessBaseGoodsRel true "更新CustomProcessBaseGoodsRel"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}"
// @Router /customProcessBaseGoodsRel/updateCustomProcessBaseGoodsRel [put]
 export const updateCustomProcessBaseGoodsRel = (data) => {
     return service({
         url: "/customProcessBaseGoodsRel/updateCustomProcessBaseGoodsRel",
         method: 'put',
         data
     })
 }


// @Tags CustomProcessBaseGoodsRel
// @Summary 用id查询CustomProcessBaseGoodsRel
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.CustomProcessBaseGoodsRel true "用id查询CustomProcessBaseGoodsRel"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}"
// @Router /customProcessBaseGoodsRel/findCustomProcessBaseGoodsRel [get]
 export const findCustomProcessBaseGoodsRel = (params) => {
     return service({
         url: "/customProcessBaseGoodsRel/findCustomProcessBaseGoodsRel",
         method: 'get',
         params
     })
 }


// @Tags CustomProcessBaseGoodsRel
// @Summary 分页获取CustomProcessBaseGoodsRel列表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body request.PageInfo true "分页获取CustomProcessBaseGoodsRel列表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /customProcessBaseGoodsRel/getCustomProcessBaseGoodsRelList [get]
 export const getCustomProcessBaseGoodsRelList = (params) => {
     return service({
         url: "/customProcessBaseGoodsRel/getCustomProcessBaseGoodsRelList",
         method: 'get',
         params
     })
 }